package com.qiyi.player.core.video.file.actors.datatile
{
   import flash.utils.ByteArray;
   import com.qiyi.player.base.logging.ILogger;
   import com.qiyi.player.base.logging.Log;
   
   public class Block extends Object implements IBlock
   {
      
      public function Block() {
         this._log = Log.getLogger("com.qiyi.player.core.video.file.Block");
         super();
         this._bytes = new ByteArray();
      }
      
      protected var _bytes:ByteArray;
      
      protected var _log:ILogger;
      
      public function get startPosition() : int {
         return 0;
      }
      
      public function get endPosition() : int {
         return 0;
      }
      
      public function get size() : int {
         if(this._bytes)
         {
            return this._bytes.length;
         }
         return 0;
      }
      
      public function destroy() : void {
         if(this._bytes)
         {
            this._bytes.clear();
            this._bytes = null;
         }
      }
   }
}
